<?php

/**
 * time utilities
 */ 
function greaterDate($start_date,$end_date){
   $start = strtotime($start_date);
   $end = strtotime($end_date);
   if ($start > $end)
     return true;
   else
     return false;
}



/**
 * variable control utilities
 */

//swap two variables
 
function swap (&$x, &$y) {
 
$x ^= $y ^= $x ^= $y;
 
} 